package com.jason.reflect.bean;

import java.io.Serializable;

/**
 * @Author: Jason
 * @Date: 16/7/3
 * @Time: 22:40
 */
public class Person2 implements Serializable {

    private String name;
    private int age;
    private String address;

    public Person2() {
        System.out.println("person2 构造方法");
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "Person2{" +
                "name='" + name + '\'' +
                ", age=" + age +
                ", address='" + address + '\'' +
                '}';
    }


}
